/** 分页查询返回结果 */
export const pageResult = {
  code: 0,
  success: true,
  message: "操作成功",
  data: {
    list: [
      {
        id: "1966081025620574208",
        createTime: "2025-09-11 18:06:59",
        status: "FAIL",
        description: "命令行任务示例",
        classPath: "com.zeta.demo.job.task.DemoJob.commandJobHandler",
        jobHandlerName: "commandJobHandler",
        shardIndex: 0,
        shardTotal: 1,
        handleCode: 200,
        spendTime: 7
      },
      {
        id: "1966081004556779520",
        createTime: "2025-09-11 18:06:54",
        status: "SUCCESS",
        description: "分片广播任务示例",
        classPath: "com.zeta.demo.job.task.DemoJob.shardingJobHandler",
        jobHandlerName: "shardingJobHandler",
        shardIndex: 0,
        shardTotal: 1,
        handleCode: 200,
        spendTime: 4
      },
      {
        id: "1966078744279908352",
        createTime: "2025-09-11 17:57:55",
        status: "SUCCESS",
        description: "简单任务示例",
        classPath: "com.zeta.demo.job.task.DemoJob.demoJobHandler",
        jobHandlerName: "demoJobHandler",
        shardIndex: 0,
        shardTotal: 1,
        handleCode: 200,
        spendTime: 10029
      },
      {
        id: "1966078427433795584",
        createTime: "2025-09-11 17:56:39",
        status: "SUCCESS",
        description: "简单任务示例",
        classPath: "com.zeta.demo.job.task.DemoJob.demoJobHandler",
        jobHandlerName: "demoJobHandler",
        shardIndex: 0,
        shardTotal: 1,
        handleCode: 200,
        spendTime: 10068
      }
    ],
    count: "4"
  },
  error: null
}

/** 批量查询返回结果 */
export const queryResult = {
  code: 0,
  message: '操作成功',
  data: [
    {
      id: "1966078427433795584",
      createTime: "2025-09-11 17:56:39",
      createdBy: "0",
      status: "SUCCESS",
      description: "简单任务示例",
      classPath: "com.zeta.demo.job.task.DemoJob.demoJobHandler",
      jobHandlerName: "demoJobHandler",
      jobParam: "",
      shardIndex: 0,
      shardTotal: 1,
      handleCode: 200,
      handleMsg: null,
      exception: "",
      spendTime: 10068
    },
    {
      id: "1966078744279908352",
      createTime: "2025-09-11 17:57:55",
      createdBy: "0",
      status: "SUCCESS",
      description: "简单任务示例",
      classPath: "com.zeta.demo.job.task.DemoJob.demoJobHandler",
      jobHandlerName: "demoJobHandler",
      jobParam: '{"name": "张三"}',
      shardIndex: 0,
      shardTotal: 1,
      handleCode: 200,
      handleMsg: null,
      exception: "",
      spendTime: 10029
    },
    {
      id: "1966081004556779520",
      createTime: "2025-09-11 18:06:54",
      createdBy: "0",
      status: "SUCCESS",
      description: "分片广播任务示例",
      classPath: "com.zeta.demo.job.task.DemoJob.shardingJobHandler",
      jobHandlerName: "shardingJobHandler",
      jobParam: "",
      shardIndex: 0,
      shardTotal: 1,
      handleCode: 200,
      handleMsg: null,
      exception: "",
      spendTime: 4
    },
    {
      id: "1966081025620574208",
      createTime: "2025-09-11 18:06:59",
      createdBy: "0",
      status: "FAIL",
      description: "命令行任务示例",
      classPath: "com.zeta.demo.job.task.DemoJob.commandJobHandler",
      jobHandlerName: "commandJobHandler",
      jobParam: "dir",
      shardIndex: 0,
      shardTotal: 1,
      handleCode: 200,
      handleMsg: null,
      exception: "java.lang.RuntimeException: java.io.IOException: Cannot run program \"dir\": CreateProcess error=2, 系统找不到指定的文件。\r\n\tat com.zeta.demo.job.task.DemoJob.lambda$commandJobHandler$2(DemoJob.java:173)\r\n\tat com.zeta.demo.job.task.DemoJob.handleJob(DemoJob.java:77)\r\n\tat com.zeta.demo.job.task.DemoJob.commandJobHandler(DemoJob.java:135)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\r\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)\r\n\tat org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:64)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:173)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)\r\n\tat org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:173)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)\r\n\tat org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:58)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:173)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)\r\n\tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)\r\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717)\r\n\tat com.zeta.demo.job.task.DemoJob$$SpringCGLIB$$0.commandJobHandler(<generated>)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\r\n\tat com.xxl.job.core.handler.impl.MethodJobHandler.execute(MethodJobHandler.java:31)\r\n\tat com.xxl.job.core.thread.JobThread.run(JobThread.java:167)\r\nCaused by: java.io.IOException: Cannot run program \"dir\": CreateProcess error=2, 系统找不到指定的文件。\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)\r\n\tat com.zeta.demo.job.task.DemoJob.lambda$commandJobHandler$2(DemoJob.java:153)\r\n\t... 30 more\r\nCaused by: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。\r\n\tat java.base/java.lang.ProcessImpl.create(Native Method)\r\n\tat java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:494)\r\n\tat java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)\r\n\t... 32 more\r\n",
      spendTime: 7
    }
  ],
  error: null,
  success: true,
}
